package com.croa.entity;

import com.dix.base.core.Core;
import com.dix.base.model.BaseModel;
import com.dix.base.model.Model;
import lombok.Data;

import java.util.Map;

@Model(tableName = "admin")
@Data
public class Admin extends BaseModel{

    private String username;
    @Override
    public Long ID() {
        return null;
    }

    @Override
    public String[] keys() {
        return new String[0];
    }

    @Override
    public String[] basicKeys() {
        return new String[0];
    }

    @Override
    public String[] detailKeys() {
        return new String[0];
    }

    @Override
    public Map<String, Object> process(Object model, String[] keys) {
        Core.processModel(model,keys);
        return super.process(model, keys);
    }
}
